package com.jic.purchase.model.vo.response;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 供应商范围商品
 * @author : 
 * @email : 
 * @since : 2020-09-20 06:58:04
 * @version : v1.0.0
 */
@Data
@NoArgsConstructor
@ApiModel(description = " 供应商范围管理实体类")
public class SupplierRangeProductResponse implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(notes = "id")
    private Long id;

    @ApiModelProperty(notes = "供应商范围id")
    private Long rangeId;

    @ApiModelProperty(notes = "供应商id")
    private Long supplierId;

    @ApiModelProperty(notes = "商品id")
    private Long productId;

    @ApiModelProperty(notes = "商品编码")
    private String productCode;

    @ApiModelProperty(notes = "商品名称")
    private String productName;

    @ApiModelProperty(notes = "成本价")
    private BigDecimal costPrice;

    @ApiModelProperty(notes = "类目编码")
    private String categoryCode;

    @ApiModelProperty(notes = "类目表外键")
    private Long categoryId;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(notes = "供应商范围编码")
    private String rangeCode;

    //@NotEmpty(message = "供应范围名称")
    @ApiModelProperty(notes = "供应范围名称")
    private String rangeName;

}